
   <div class="products_hot">
   <?
   if($products){
      $i = 0;
      foreach($products as $row){
         $i++;
   ?>
      <div class="product <?=($i%2 == 0) ? 'mgr0':''?>">
         <img src="<?=($row['pro_image'] != '') ? product_images.$pro_img_small.$row['pro_image'] : '/pictures/no.jpg'?>"/>
         <div class="product_info">
            <div class="product_info_inner">
               <p class="product_name"><a href="<?=generate_product_detail_url($row)?>" title="<?=$row['pro_name']?>"><?=cut_string($row['pro_name'],35)?></a></p>
               <p class="product_description">
                  <?=cut_string($row['pro_description'],100)?>
               </p>
            </div>
            <a class="buy" href="<?=generate_product_order_url($row)?>">ĐẶT MUA</a>
         </div>
      </div>
   <? 
      }
   }else echo "Không có sản phẩm nào !";
    ?>
      
   </div>
   <div class="products_pagebreak">
      <?=generatePageBar('',$current_page,$templateProduct->page_size,$total,'','main_page_btn','page_selected','<<','>>','Đầu','Cuối',1,1)?>
   </div>
